import request from "@/utils/request";

// 推送单位
export const pushUnit = () => {
  return request({
    url: "/preventionPush/pushUnit",
    method: "get",
  });
};

// 推送单位
export const pushEvent = () => {
  return request({
    url: "/preventionPush/pushEvent",
    method: "get",
  });
};
// 推送单位
export const pushControl = () => {
  return request({
    url: "/preventionPush/pushControl",
    method: "get",
  });
};
// 推送单位
export const pushTaskConfig = () => {
  return request({
    url: "/preventionPush/pushTaskConfig",
    method: "get",
  });
};
// 推送单位
export const pushTaskRecord = (params) => {
  return request({
    url: "/preventionPush/pushTaskRecord",
    method: "get",
    params,
  });
};
export const pushInvestigation = (params) => {
  return request({
    url: "/preventionPush/pushInvestigation",
    method: "get",
    params,
  });
};
